package org.ahuanlien.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class Client extends BaseClientDomain {

	//创建时间
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date createDate;

	//年龄
	private Integer age;

	//性别
	private Boolean gender;

	//职业
	private Dictionary profession;

	//薪资水平
	private Dictionary salaryLevel;

	//电话
	private String tel;

	//邮箱
	private String email;

	//客户地址
	private String clientAddress;

	//客户来源
	private Dictionary clientSource;

	//QQ
	private String qq;

	//微信
	private String wechat;

	//身份证
	private String idCard;

	//客户状态默认为潜在客户
	private Integer state = STATE_IN_LATENT;
}